import { NavList } from '@/common/enum'
const Football = process.env.NEXT_PUBLIC_Football
const Basketball = process.env.NEXT_PUBLIC_Basketball
export const navData = [
  {
    name: "首页",
    link: "/",
    key: 0,
    nav: [],
    active: "/"
  },
  {
    name: "篮球直播",
    key: 1,
    nav: NavList.b,
    titleKey: "name",
    linkId: "en",
    link: "/onlinelive/basketball",
    active: "/onlinelive/basketball",
    noLink: true,
    navLink: "/onlinelive/basketball",
    navShowCondition: "id"
  },
  {
    name: "足球直播",
    key: 2,
    nav: NavList.f,
    linkId: "en",
    titleKey: "name",
    link: "/onlinelive/football",
    active: '/onlinelive/football',
    noLink: true,
    navLink: "/onlinelive/football",
    navShowCondition: "id"
  },
  {
    name: "足球录像",
    link: "/video/football",
    key: 3,
    nav: [],
    titleKey: "typeName",
    linkId: "en",
    navLink: "/video",
    active: '/video/football',
    navShowCondition: "id"
  },
  {
    name: "篮球录像",
    link: "/video/basketball",
    key: 4,
    nav: [],
    titleKey: "typeName",
    linkId: "en",
    navLink: "/video",
    active: '/video/basketball',
    navShowCondition: "id"
  },
  {
    name: "体育新闻",
    key: 5,
    nav: [],
    link: '/news',
    titleKey: "typeName",
    linkId: 'en',
    active: "/news",
    navLink: "/news",
    navShowCondition: "id"
  },
  {
    name: "精彩视频",
    key: 6,
    nav: [],
    titleKey: "name",
    linkId: "en",
    link: '/marvellous',
    active: "/marvellous",
    navLink: "/marvellous",
    navShowCondition: "id"
  },
  {
    name: "比分直播",
    link: "/",
    key: 7,
    nav: [
      {
        name: "足球比分", id: Number(Football),
      },
      {
        name: "篮球比分", id: Number(Basketball)
      }
    ],
    link: '/score',
    titleKey: "name",
    active: "/score",
    linkId: "id",
    navLink: "/score",
    navShowCondition: "id"
  },
  {
    name: "积分榜",
    link: "/integral",
    key: 8,
    active: "/integral",
    nav: [],
    h5Link: process.env.NEXT_PUBLIC_DOWNLOADLINK,
    navLink: "/integral",
    navShowCondition: "id"
  },
]